package butines.game;


public abstract class Weapon {

	private int damage;
	private int range;
	private float waitTime;

	public Weapon(int damage, int range, float waitTime) {
		this.damage = damage;
		this.range = range;
		this.waitTime = waitTime;
	}

	public float getWaitTime() {
		return waitTime;
	}

	public void setWaitTime(float waitTime) {
		this.waitTime = waitTime;
	}

	public int getDamage() {
		return damage;
	}

	public void setDamage(int damage) {
		this.damage = damage;
	}

	public int getRange() {
		return range;
	}

	public void setRange(int range) {
		this.range = range;
	}
	
	public abstract void performAttack(Unit attacker);
	
}
